#pragma once
#include "VertexFactory.h"

namespace Alice
{
    class LocalVertexFactory:public VertexFactory
    {
    public:
        struct FDataType : public FStaticMeshDataType
        {
        };
        FDataType Data;
        int32 ColorStreamIndex;
        virtual void InitRHI(CGICommandListBase& inCGICmdList) override;
        void SetData(CGICommandListBase& inCGICmdList, const FDataType& InData);
        static void GetVertexElements(
            EVertexInputStreamType InputStreamType, 
            bool bSupportsManualVertexFetch,
            FDataType& Data, 
            VertexDeclarationElementList& Elements, 
            VertexStreamList& InOutStreams, 
            int32& OutColorStreamIndex);
    };
}
